package week1;

import java.util.Scanner;

public class T4 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        String input1=scanner.nextLine();
        String[] data=input1.split(" ");
        int a=Integer.parseInt(data[0]);
        int b=Integer.parseInt(data[1]);

        System.out.println((a*10+b)/19);

    }
}